Browsing Tag:

centos

List of basic SSH Commands in CentOS Linux Server

Since I connect my server to SSH to do couple of tweaks and modifications, It's important for you to know what all commands are available and what all it could do for you while you execute it especially if your going to manage a server through SSH. Therefore, I have given a list of basic SSH commands in CentOS which I use while I manage servers.ls – list the contents of the current directory ls -a – list the contents of the current directory including hidden files)] ls -l – shows you file Read more
July 16, 2012
/

Monitoring Usage in Linux Server

Now I would tell you some basic command which well help you monitor your server.VZ ParametersOn a Virtuozzo VPS you can output your usage of the VZ parameters. You should pay most attention to oomguarpages and privmpages. Anything with a failure is generally bad! cat /proc/usr_beancounters Apache ConnectionsIf you have experience in Server Administrator task, you surely have a headache on the Apache connections when it is getting tons of connections to the server!Grep port 80 (web services Read more
July 9, 2012
/

How to Set an SSH Login Message

Isn't it good to put a message to everyone who login to your server via SSH? Especially a legal message?Login as root via SSH.Enter the following command: pico /etc/motd Enter your message, save and exit.After that, If any users login to SSH, they will see the message you have typed!This is the message I have entered to all my servers I have, You can use it too. ALERT! You are entering  into a secured area! Your IP, Login Time, Username has been noted and has been sent to the server administrator! This Read more
July 9, 2012
/

How to setup a website in CentOS VPS

Today i would be blogging something special for all newbies who have a vps (cheap or costly doesn't matter) with CentOS Operating System Installed. So I would be writing how to setup one of my site, In this tutorial i would be setting up domain "example.com" in my new CentOS VPS.Please note, This is one of the simplest methods for CentOS and ofcourse there are other ways too!Tools Required:Putty WinSCP (A very cool program for editing files, Uploading and downloading from the VPS)So like Read more
January 28, 2012
/